.class Lcom/burstly/lib/component/TrackRequestSender;
.super Ljava/lang/Object;
.source "TrackRequestSender.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/burstly/lib/component/TrackRequestSender$ClickComponentRequestCallback;,
        Lcom/burstly/lib/component/TrackRequestSender$ShowComponentRequestCallback;
    }
.end annotation


# static fields
.field private static final LOG:Lcom/burstly/lib/util/LoggerExt;


# instance fields
.field private mController:Lcom/burstly/lib/component/AdaptorController;

.field private mTag:Ljava/lang/String;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .prologue
    .line 129
    invoke-static {}, Lcom/burstly/lib/util/LoggerExt;->getInstance()Lcom/burstly/lib/util/LoggerExt;

    move-result-object v0

    sput-object v0, Lcom/burstly/lib/component/TrackRequestSender;->LOG:Lcom/burstly/lib/util/LoggerExt;

    return-void
.end method

.method public constructor <init>(Lcom/burstly/lib/component/AdaptorController;)V
    .locals 0
    .parameter "controller"

    .prologue
    .line 146
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 147
    iput-object p1, p0, Lcom/burstly/lib/component/TrackRequestSender;->mController:Lcom/burstly/lib/component/AdaptorController;

    .line 148
    return-void
.end method

.method static synthetic access$000()Lcom/burstly/lib/util/LoggerExt;
    .locals 1

    .prologue
    .line 29
    sget-object v0, Lcom/burstly/lib/component/TrackRequestSender;->LOG:Lcom/burstly/lib/util/LoggerExt;

    return-object v0
.end method

.method private doClickTrack(Ljava/lang/String;)V
    .locals 9
    .parameter "clickUrl"

    .prologue
    const/4 v8, 0x0

    .line 201
    iget-object v5, p0, Lcom/burstly/lib/component/TrackRequestSender;->mController:Lcom/burstly/lib/component/AdaptorController;

    invoke-virtual {v5}, Lcom/burstly/lib/component/AdaptorController;->getCurrentState()Lcom/burstly/lib/component/ComponentState;

    move-result-object v1

    .line 202
    .local v1, currentState:Lcom/burstly/lib/component/ComponentState;
    if-eqz v1, :cond_1

    .line 203
    invoke-virtual {v1}, Lcom/burstly/lib/component/ComponentState;->getResponseData()Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;

    move-result-object v0

    .line 204
    .local v0, currentAdData:Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;
    invoke-virtual {v1}, Lcom/burstly/lib/component/ComponentState;->getFullResponse()Lcom/burstly/lib/network/beans/ResponseBean;

    move-result-object v3

    .line 205
    .local v3, fullResponse:Lcom/burstly/lib/network/beans/ResponseBean;
    if-eqz v0, :cond_0

    if-eqz v3, :cond_0

    .line 206
    invoke-static {}, Lcom/burstly/lib/util/Utils;->generateUID()Ljava/lang/String;

    move-result-object v4

    .line 207
    .local v4, id:Ljava/lang/String;
    iget-object v5, p0, Lcom/burstly/lib/component/TrackRequestSender;->mController:Lcom/burstly/lib/component/AdaptorController;

    invoke-virtual {v5}, Lcom/burstly/lib/component/AdaptorController;->getTrackClickRequest()Lcom/burstly/lib/network/beans/TrackClickRequest;

    move-result-object v5

    invoke-virtual {v5}, Lcom/burstly/lib/network/beans/TrackClickRequest;->getData()Lcom/burstly/lib/network/beans/TrackClickRequest$Request;

    move-result-object v2

    .line 209
    .local v2, data:Lcom/burstly/lib/network/beans/TrackClickRequest$Request;
    invoke-virtual {v2, v4}, Lcom/burstly/lib/network/beans/TrackClickRequest$Request;->setId(Ljava/lang/String;)V

    .line 210
    invoke-virtual {v0}, Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;->getClkData()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v2, v5}, Lcom/burstly/lib/network/beans/TrackClickRequest$Request;->setEncData(Ljava/lang/String;)V

    .line 211
    invoke-virtual {v2, p1}, Lcom/burstly/lib/network/beans/TrackClickRequest$Request;->setClickDestUrl(Ljava/lang/String;)V

    .line 212
    invoke-virtual {v3}, Lcom/burstly/lib/network/beans/ResponseBean;->getCookie()[Lcom/burstly/lib/network/beans/cookie/CookieHolder;

    move-result-object v5

    invoke-virtual {v2, v5}, Lcom/burstly/lib/network/beans/TrackClickRequest$Request;->setCookie([Lcom/burstly/lib/network/beans/cookie/CookieHolder;)V

    .line 213
    iget-object v5, p0, Lcom/burstly/lib/component/TrackRequestSender;->mController:Lcom/burstly/lib/component/AdaptorController;

    invoke-virtual {v5}, Lcom/burstly/lib/component/AdaptorController;->getContext()Landroid/content/Context;

    move-result-object v5

    invoke-static {v5}, Lcom/burstly/lib/util/Utils;->getDeviceId(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v2, v5}, Lcom/burstly/lib/network/beans/TrackClickRequest$Request;->setDeviceID(Ljava/lang/String;)V

    .line 214
    invoke-direct {p0, v2}, Lcom/burstly/lib/component/TrackRequestSender;->setAppUserId(Lcom/burstly/lib/network/beans/TrackClickRequest$Request;)V

    .line 215
    iget-object v5, p0, Lcom/burstly/lib/component/TrackRequestSender;->mController:Lcom/burstly/lib/component/AdaptorController;

    invoke-virtual {v5}, Lcom/burstly/lib/component/AdaptorController;->getTrackClickRequest()Lcom/burstly/lib/network/beans/TrackClickRequest;

    move-result-object v5

    invoke-direct {p0, v5}, Lcom/burstly/lib/component/TrackRequestSender;->executeTrackClickRequest(Lcom/burstly/lib/network/beans/TrackClickRequest;)Lcom/burstly/lib/network/request/AbortableAsyncTask;

    .line 216
    invoke-direct {p0, v0}, Lcom/burstly/lib/component/TrackRequestSender;->sendExternalUrlsTrack(Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;)V

    .line 223
    .end local v0           #currentAdData:Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;
    .end local v2           #data:Lcom/burstly/lib/network/beans/TrackClickRequest$Request;
    .end local v3           #fullResponse:Lcom/burstly/lib/network/beans/ResponseBean;
    .end local v4           #id:Ljava/lang/String;
    :goto_0
    return-void

    .line 218
    .restart local v0       #currentAdData:Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;
    .restart local v3       #fullResponse:Lcom/burstly/lib/network/beans/ResponseBean;
    :cond_0
    sget-object v5, Lcom/burstly/lib/component/TrackRequestSender;->LOG:Lcom/burstly/lib/util/LoggerExt;

    iget-object v6, p0, Lcom/burstly/lib/component/TrackRequestSender;->mTag:Ljava/lang/String;

    const-string v7, "No current data! Can not track click request!"

    new-array v8, v8, [Ljava/lang/Object;

    invoke-virtual {v5, v6, v7, v8}, Lcom/burstly/lib/util/LoggerExt;->logError(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    goto :goto_0

    .line 221
    .end local v0           #currentAdData:Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;
    .end local v3           #fullResponse:Lcom/burstly/lib/network/beans/ResponseBean;
    :cond_1
    sget-object v5, Lcom/burstly/lib/component/TrackRequestSender;->LOG:Lcom/burstly/lib/util/LoggerExt;

    iget-object v6, p0, Lcom/burstly/lib/component/TrackRequestSender;->mTag:Ljava/lang/String;

    const-string v7, "Can not track click. No current data."

    new-array v8, v8, [Ljava/lang/Object;

    invoke-virtual {v5, v6, v7, v8}, Lcom/burstly/lib/util/LoggerExt;->logWarning(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    goto :goto_0
.end method

.method private executeTrackClickRequest(Lcom/burstly/lib/network/beans/TrackClickRequest;)Lcom/burstly/lib/network/request/AbortableAsyncTask;
    .locals 6
    .parameter "trackClickRequest"
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/burstly/lib/network/beans/TrackClickRequest;",
            ")",
            "Lcom/burstly/lib/network/request/AbortableAsyncTask",
            "<",
            "Lcom/burstly/lib/network/beans/TrackClickResult;",
            ">;"
        }
    .end annotation

    .prologue
    .line 302
    new-instance v0, Lcom/burstly/lib/network/request/RequestManager$RequestDataObject;

    sget-object v1, Lcom/burstly/lib/constants/UriConstants;->SINGLE_TRACK_CLICK_URI:Ljava/lang/String;

    iget-object v2, p0, Lcom/burstly/lib/component/TrackRequestSender;->mController:Lcom/burstly/lib/component/AdaptorController;

    invoke-virtual {v2}, Lcom/burstly/lib/component/AdaptorController;->getViewId()Ljava/lang/String;

    move-result-object v3

    new-instance v4, Lcom/burstly/lib/component/TrackRequestSender$ClickComponentRequestCallback;

    iget-object v2, p0, Lcom/burstly/lib/component/TrackRequestSender;->mController:Lcom/burstly/lib/component/AdaptorController;

    iget-object v5, p0, Lcom/burstly/lib/component/TrackRequestSender;->mTag:Ljava/lang/String;

    invoke-direct {v4, v2, v5}, Lcom/burstly/lib/component/TrackRequestSender$ClickComponentRequestCallback;-><init>(Lcom/burstly/lib/component/AdaptorController;Ljava/lang/String;)V

    const-class v5, Lcom/burstly/lib/network/beans/TrackClickResult;

    move-object v2, p1

    invoke-direct/range {v0 .. v5}, Lcom/burstly/lib/network/request/RequestManager$RequestDataObject;-><init>(Ljava/lang/String;Lcom/burstly/lib/network/beans/cookie/ICookieRequest;Ljava/lang/String;Lcom/burstly/lib/network/request/IRequestCallback;Ljava/lang/Class;)V

    .line 305
    .local v0, requestTO:Lcom/burstly/lib/network/request/RequestManager$RequestDataObject;,"Lcom/burstly/lib/network/request/RequestManager$RequestDataObject<Lcom/burstly/lib/network/beans/TrackClickResult;>;"
    const/4 v1, 0x0

    invoke-static {v0, v1}, Lcom/burstly/lib/network/request/RequestManager;->makeAdRequest(Lcom/burstly/lib/network/request/RequestManager$RequestDataObject;Z)Lcom/burstly/lib/network/request/AbortableAsyncTask;

    move-result-object v1

    return-object v1
.end method

.method private executeTrackShowRequest(Lcom/burstly/lib/network/beans/TrackShowRequest;)Lcom/burstly/lib/network/request/AbortableAsyncTask;
    .locals 6
    .parameter "trackShowRequest"
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/burstly/lib/network/beans/TrackShowRequest;",
            ")",
            "Lcom/burstly/lib/network/request/AbortableAsyncTask",
            "<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation

    .prologue
    .line 289
    new-instance v0, Lcom/burstly/lib/network/request/RequestManager$RequestDataObject;

    sget-object v1, Lcom/burstly/lib/constants/UriConstants;->SINGLE_TRACK_URI:Ljava/lang/String;

    iget-object v2, p0, Lcom/burstly/lib/component/TrackRequestSender;->mController:Lcom/burstly/lib/component/AdaptorController;

    invoke-virtual {v2}, Lcom/burstly/lib/component/AdaptorController;->getViewId()Ljava/lang/String;

    move-result-object v3

    new-instance v4, Lcom/burstly/lib/component/TrackRequestSender$ShowComponentRequestCallback;

    iget-object v2, p0, Lcom/burstly/lib/component/TrackRequestSender;->mController:Lcom/burstly/lib/component/AdaptorController;

    iget-object v5, p0, Lcom/burstly/lib/component/TrackRequestSender;->mTag:Ljava/lang/String;

    invoke-direct {v4, v2, v5}, Lcom/burstly/lib/component/TrackRequestSender$ShowComponentRequestCallback;-><init>(Lcom/burstly/lib/component/AdaptorController;Ljava/lang/String;)V

    const-class v5, Ljava/lang/String;

    move-object v2, p1

    invoke-direct/range {v0 .. v5}, Lcom/burstly/lib/network/request/RequestManager$RequestDataObject;-><init>(Ljava/lang/String;Lcom/burstly/lib/network/beans/cookie/ICookieRequest;Ljava/lang/String;Lcom/burstly/lib/network/request/IRequestCallback;Ljava/lang/Class;)V

    .line 292
    .local v0, requestTO:Lcom/burstly/lib/network/request/RequestManager$RequestDataObject;,"Lcom/burstly/lib/network/request/RequestManager$RequestDataObject<Ljava/lang/String;>;"
    const/4 v1, 0x0

    invoke-static {v0, v1}, Lcom/burstly/lib/network/request/RequestManager;->makeAdRequest(Lcom/burstly/lib/network/request/RequestManager$RequestDataObject;Z)Lcom/burstly/lib/network/request/AbortableAsyncTask;

    move-result-object v1

    return-object v1
.end method

.method private sendExternalUrlsTrack(Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;)V
    .locals 6
    .parameter "currentAdData"

    .prologue
    .line 274
    invoke-virtual {p1}, Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;->getCbca()[Ljava/lang/String;

    move-result-object v2

    .line 275
    .local v2, externalTrackUrls:[Ljava/lang/String;
    if-eqz v2, :cond_0

    array-length v5, v2

    if-lez v5, :cond_0

    .line 276
    move-object v0, v2

    .local v0, arr$:[Ljava/lang/String;
    array-length v4, v0

    .local v4, len$:I
    const/4 v3, 0x0

    .local v3, i$:I
    :goto_0
    if-ge v3, v4, :cond_0

    aget-object v1, v0, v3

    .line 277
    .local v1, exUrl:Ljava/lang/String;
    iget-object v5, p0, Lcom/burstly/lib/component/TrackRequestSender;->mController:Lcom/burstly/lib/component/AdaptorController;

    invoke-virtual {v5}, Lcom/burstly/lib/component/AdaptorController;->getViewId()Ljava/lang/String;

    move-result-object v5

    invoke-static {v1, v5}, Lcom/burstly/lib/network/request/RequestManager;->makeTrackEventRequest(Ljava/lang/String;Ljava/lang/String;)Lcom/burstly/lib/network/request/AbortableAsyncTask;

    .line 276
    add-int/lit8 v3, v3, 0x1

    goto :goto_0

    .line 280
    .end local v0           #arr$:[Ljava/lang/String;
    .end local v1           #exUrl:Ljava/lang/String;
    .end local v3           #i$:I
    .end local v4           #len$:I
    :cond_0
    return-void
.end method

.method private sendPixelsShowRequest([Ljava/lang/String;)V
    .locals 6
    .parameter "cbi"

    .prologue
    .line 231
    iget-object v5, p0, Lcom/burstly/lib/component/TrackRequestSender;->mController:Lcom/burstly/lib/component/AdaptorController;

    invoke-virtual {v5}, Lcom/burstly/lib/component/AdaptorController;->getViewId()Ljava/lang/String;

    move-result-object v4

    .line 232
    .local v4, viewId:Ljava/lang/String;
    move-object v0, p1

    .local v0, arr$:[Ljava/lang/String;
    array-length v2, v0

    .local v2, len$:I
    const/4 v1, 0x0

    .local v1, i$:I
    :goto_0
    if-ge v1, v2, :cond_1

    aget-object v3, v0, v1

    .line 233
    .local v3, url:Ljava/lang/String;
    if-eqz v3, :cond_0

    const-string v5, ""

    invoke-virtual {v5, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-nez v5, :cond_0

    .line 234
    invoke-static {v3, v4}, Lcom/burstly/lib/network/request/RequestManager;->makeTrackEventRequest(Ljava/lang/String;Ljava/lang/String;)Lcom/burstly/lib/network/request/AbortableAsyncTask;

    .line 232
    :cond_0
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    .line 237
    .end local v3           #url:Ljava/lang/String;
    :cond_1
    return-void
.end method

.method private setAppUserId(Lcom/burstly/lib/network/beans/TrackClickRequest$Request;)V
    .locals 3
    .parameter "data"

    .prologue
    .line 245
    const-string v2, ""

    invoke-virtual {p1, v2}, Lcom/burstly/lib/network/beans/TrackClickRequest$Request;->setAppUserId(Ljava/lang/String;)V

    .line 246
    invoke-static {}, Lcom/burstly/lib/feature/FeatureFactory;->getCurrencyFeature()Lcom/burstly/lib/feature/currency/ICurrencyManager;

    move-result-object v0

    .line 247
    .local v0, cManager:Lcom/burstly/lib/feature/currency/ICurrencyManager;
    if-eqz v0, :cond_0

    .line 248
    invoke-interface {v0}, Lcom/burstly/lib/feature/currency/ICurrencyManager;->getUserId()Ljava/lang/String;

    move-result-object v1

    .line 249
    .local v1, userId:Ljava/lang/String;
    if-eqz v1, :cond_0

    .line 250
    invoke-virtual {p1, v1}, Lcom/burstly/lib/network/beans/TrackClickRequest$Request;->setAppUserId(Ljava/lang/String;)V

    .line 259
    .end local v1           #userId:Ljava/lang/String;
    :cond_0
    return-void
.end method


# virtual methods
.method onClick()V
    .locals 1

    .prologue
    .line 183
    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lcom/burstly/lib/component/TrackRequestSender;->doClickTrack(Ljava/lang/String;)V

    .line 184
    return-void
.end method

.method onClick(Ljava/lang/String;)V
    .locals 0
    .parameter "url"

    .prologue
    .line 192
    invoke-direct {p0, p1}, Lcom/burstly/lib/component/TrackRequestSender;->doClickTrack(Ljava/lang/String;)V

    .line 193
    return-void
.end method

.method onShow()V
    .locals 10

    .prologue
    .line 154
    iget-object v6, p0, Lcom/burstly/lib/component/TrackRequestSender;->mController:Lcom/burstly/lib/component/AdaptorController;

    iget-boolean v6, v6, Lcom/burstly/lib/component/AdaptorController;->mIsPrefetchRequest:Z

    if-nez v6, :cond_0

    .line 155
    iget-object v6, p0, Lcom/burstly/lib/component/TrackRequestSender;->mController:Lcom/burstly/lib/component/AdaptorController;

    invoke-virtual {v6}, Lcom/burstly/lib/component/AdaptorController;->getCurrentState()Lcom/burstly/lib/component/ComponentState;

    move-result-object v2

    .line 156
    .local v2, currentState:Lcom/burstly/lib/component/ComponentState;
    if-eqz v2, :cond_0

    .line 157
    invoke-virtual {v2}, Lcom/burstly/lib/component/ComponentState;->getResponseData()Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;

    move-result-object v1

    .line 158
    .local v1, currentAdData:Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;
    invoke-virtual {v2}, Lcom/burstly/lib/component/ComponentState;->getFullResponse()Lcom/burstly/lib/network/beans/ResponseBean;

    move-result-object v4

    .line 159
    .local v4, fullResponse:Lcom/burstly/lib/network/beans/ResponseBean;
    invoke-virtual {v2}, Lcom/burstly/lib/component/ComponentState;->getRequestData()Lcom/burstly/lib/network/beans/RequestData;

    move-result-object v5

    .line 160
    .local v5, requestData:Lcom/burstly/lib/network/beans/RequestData;
    iget-object v6, p0, Lcom/burstly/lib/component/TrackRequestSender;->mController:Lcom/burstly/lib/component/AdaptorController;

    invoke-virtual {v6}, Lcom/burstly/lib/component/AdaptorController;->getTrackShowRequest()Lcom/burstly/lib/network/beans/TrackShowRequest;

    move-result-object v6

    invoke-virtual {v6}, Lcom/burstly/lib/network/beans/TrackShowRequest;->getData()Lcom/burstly/lib/network/beans/TrackShowRequest$Request;

    move-result-object v3

    .line 161
    .local v3, data:Lcom/burstly/lib/network/beans/TrackShowRequest$Request;
    invoke-virtual {v5}, Lcom/burstly/lib/network/beans/RequestData;->getPublisher()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v3, v6}, Lcom/burstly/lib/network/beans/TrackShowRequest$Request;->setPublisher(Ljava/lang/String;)V

    .line 162
    invoke-virtual {v5}, Lcom/burstly/lib/network/beans/RequestData;->getZone()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v3, v6}, Lcom/burstly/lib/network/beans/TrackShowRequest$Request;->setZone(Ljava/lang/String;)V

    .line 163
    invoke-virtual {v5}, Lcom/burstly/lib/network/beans/RequestData;->getRvCR()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v3, v6}, Lcom/burstly/lib/network/beans/TrackShowRequest$Request;->setFailedCR(Ljava/lang/String;)V

    .line 164
    if-eqz v1, :cond_1

    if-eqz v4, :cond_1

    .line 165
    invoke-virtual {v1}, Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;->getiTrkData()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v3, v6}, Lcom/burstly/lib/network/beans/TrackShowRequest$Request;->setEncData(Ljava/lang/String;)V

    .line 166
    invoke-virtual {v4}, Lcom/burstly/lib/network/beans/ResponseBean;->getCookie()[Lcom/burstly/lib/network/beans/cookie/CookieHolder;

    move-result-object v6

    invoke-virtual {v3, v6}, Lcom/burstly/lib/network/beans/TrackShowRequest$Request;->setCookie([Lcom/burstly/lib/network/beans/cookie/CookieHolder;)V

    .line 167
    iget-object v6, p0, Lcom/burstly/lib/component/TrackRequestSender;->mController:Lcom/burstly/lib/component/AdaptorController;

    invoke-virtual {v6}, Lcom/burstly/lib/component/AdaptorController;->getTrackShowRequest()Lcom/burstly/lib/network/beans/TrackShowRequest;

    move-result-object v6

    invoke-direct {p0, v6}, Lcom/burstly/lib/component/TrackRequestSender;->executeTrackShowRequest(Lcom/burstly/lib/network/beans/TrackShowRequest;)Lcom/burstly/lib/network/request/AbortableAsyncTask;

    .line 168
    invoke-virtual {v1}, Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;->getValidCbiArray()[Ljava/lang/String;

    move-result-object v0

    .line 169
    .local v0, cbi:[Ljava/lang/String;
    if-eqz v0, :cond_0

    array-length v6, v0

    if-lez v6, :cond_0

    .line 170
    invoke-direct {p0, v0}, Lcom/burstly/lib/component/TrackRequestSender;->sendPixelsShowRequest([Ljava/lang/String;)V

    .line 177
    .end local v0           #cbi:[Ljava/lang/String;
    .end local v1           #currentAdData:Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;
    .end local v2           #currentState:Lcom/burstly/lib/component/ComponentState;
    .end local v3           #data:Lcom/burstly/lib/network/beans/TrackShowRequest$Request;
    .end local v4           #fullResponse:Lcom/burstly/lib/network/beans/ResponseBean;
    .end local v5           #requestData:Lcom/burstly/lib/network/beans/RequestData;
    :cond_0
    :goto_0
    return-void

    .line 173
    .restart local v1       #currentAdData:Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;
    .restart local v2       #currentState:Lcom/burstly/lib/component/ComponentState;
    .restart local v3       #data:Lcom/burstly/lib/network/beans/TrackShowRequest$Request;
    .restart local v4       #fullResponse:Lcom/burstly/lib/network/beans/ResponseBean;
    .restart local v5       #requestData:Lcom/burstly/lib/network/beans/RequestData;
    :cond_1
    sget-object v6, Lcom/burstly/lib/component/TrackRequestSender;->LOG:Lcom/burstly/lib/util/LoggerExt;

    iget-object v7, p0, Lcom/burstly/lib/component/TrackRequestSender;->mTag:Ljava/lang/String;

    const-string v8, "No current data! Can not track show request!"

    const/4 v9, 0x0

    new-array v9, v9, [Ljava/lang/Object;

    invoke-virtual {v6, v7, v8, v9}, Lcom/burstly/lib/util/LoggerExt;->logError(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    goto :goto_0
.end method

.method setBurstlyViewId()V
    .locals 2

    .prologue
    .line 265
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v1, p0, Lcom/burstly/lib/component/TrackRequestSender;->mController:Lcom/burstly/lib/component/AdaptorController;

    invoke-virtual {v1}, Lcom/burstly/lib/component/AdaptorController;->getViewId()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, " track request sender -> "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/burstly/lib/component/TrackRequestSender;->mController:Lcom/burstly/lib/component/AdaptorController;

    iget-object v1, v1, Lcom/burstly/lib/component/AdaptorController;->mNetworkName:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/burstly/lib/component/TrackRequestSender;->mTag:Ljava/lang/String;

    .line 266
    return-void
.end method
